

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 7.00.0500 */
/* at Thu Mar 13 16:29:39 2008
 */
/* Compiler settings for .\RatchetBrowser.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __RatchetBrowser_h__
#define __RatchetBrowser_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IIEBrowser_FWD_DEFINED__
#define __IIEBrowser_FWD_DEFINED__
typedef interface IIEBrowser IIEBrowser;
#endif 	/* __IIEBrowser_FWD_DEFINED__ */


#ifndef __DIEBrowserEvents_FWD_DEFINED__
#define __DIEBrowserEvents_FWD_DEFINED__
typedef interface DIEBrowserEvents DIEBrowserEvents;
#endif 	/* __DIEBrowserEvents_FWD_DEFINED__ */


#ifndef __IEBrowser_FWD_DEFINED__
#define __IEBrowser_FWD_DEFINED__

#ifdef __cplusplus
typedef class IEBrowser IEBrowser;
#else
typedef struct IEBrowser IEBrowser;
#endif /* __cplusplus */

#endif 	/* __IEBrowser_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


#ifndef __IIEBrowser_INTERFACE_DEFINED__
#define __IIEBrowser_INTERFACE_DEFINED__

/* interface IIEBrowser */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IIEBrowser;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("099BC2AE-12C8-405B-9A27-F1C330922484")
    IIEBrowser : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Navigate2( 
            /* [in] */ VARIANT *URL,
            /* [optional][in] */ VARIANT *Flags,
            /* [optional][in] */ VARIANT *TargetFrameName,
            /* [optional][in] */ VARIANT *PostData,
            /* [optional][in] */ VARIANT *Headers) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Document( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WaitForDocumentComplete( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReloadDOM( void) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BrowserIDispatch( 
            /* [retval][out] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PopupIDispatch( 
            /* [in] */ IDispatch **pVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BrowserID( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BrowserID( 
            /* [in] */ BSTR newVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MousedownIsMouseclick( 
            /* [retval][out] */ BOOL *pVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MousedownIsMouseclick( 
            /* [in] */ BOOL newVal) = 0;
        
        virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ignoreEvents( 
            /* [in] */ BOOL bNewVal) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ignoreEvents( 
            /* [retval][out] */ BOOL *pbVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Sleep( 
            /* [in] */ long nMilliseonds) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GoBack( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GoForward( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GoHome( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Refresh2( 
            /* [in] */ VARIANT *varLevel) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ScreenCapture( 
            /* [in] */ VARIANT_BOOL vbFullScreen,
            /* [in] */ BSTR bstrUploadUrl,
            /* [retval][out] */ BSTR *pbstrEncodedImage) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SendKeys( 
            /* [in] */ BSTR bstrValue) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckDocumentComplete( 
            /* [retval][out] */ BOOL *pbVal) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IIEBrowserVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IIEBrowser * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IIEBrowser * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IIEBrowser * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IIEBrowser * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IIEBrowser * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IIEBrowser * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IIEBrowser * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate2 )( 
            IIEBrowser * This,
            /* [in] */ VARIANT *URL,
            /* [optional][in] */ VARIANT *Flags,
            /* [optional][in] */ VARIANT *TargetFrameName,
            /* [optional][in] */ VARIANT *PostData,
            /* [optional][in] */ VARIANT *Headers);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Document )( 
            IIEBrowser * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *WaitForDocumentComplete )( 
            IIEBrowser * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReloadDOM )( 
            IIEBrowser * This);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BrowserIDispatch )( 
            IIEBrowser * This,
            /* [retval][out] */ IDispatch **pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PopupIDispatch )( 
            IIEBrowser * This,
            /* [in] */ IDispatch **pVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BrowserID )( 
            IIEBrowser * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BrowserID )( 
            IIEBrowser * This,
            /* [in] */ BSTR newVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MousedownIsMouseclick )( 
            IIEBrowser * This,
            /* [retval][out] */ BOOL *pVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MousedownIsMouseclick )( 
            IIEBrowser * This,
            /* [in] */ BOOL newVal);
        
        /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ignoreEvents )( 
            IIEBrowser * This,
            /* [in] */ BOOL bNewVal);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ignoreEvents )( 
            IIEBrowser * This,
            /* [retval][out] */ BOOL *pbVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Sleep )( 
            IIEBrowser * This,
            /* [in] */ long nMilliseonds);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoBack )( 
            IIEBrowser * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoForward )( 
            IIEBrowser * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoHome )( 
            IIEBrowser * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )( 
            IIEBrowser * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh2 )( 
            IIEBrowser * This,
            /* [in] */ VARIANT *varLevel);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ScreenCapture )( 
            IIEBrowser * This,
            /* [in] */ VARIANT_BOOL vbFullScreen,
            /* [in] */ BSTR bstrUploadUrl,
            /* [retval][out] */ BSTR *pbstrEncodedImage);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SendKeys )( 
            IIEBrowser * This,
            /* [in] */ BSTR bstrValue);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CheckDocumentComplete )( 
            IIEBrowser * This,
            /* [retval][out] */ BOOL *pbVal);
        
        END_INTERFACE
    } IIEBrowserVtbl;

    interface IIEBrowser
    {
        CONST_VTBL struct IIEBrowserVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IIEBrowser_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IIEBrowser_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IIEBrowser_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IIEBrowser_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define IIEBrowser_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define IIEBrowser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define IIEBrowser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 


#define IIEBrowser_Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers)	\
    ( (This)->lpVtbl -> Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) ) 

#define IIEBrowser_get_Document(This,pVal)	\
    ( (This)->lpVtbl -> get_Document(This,pVal) ) 

#define IIEBrowser_WaitForDocumentComplete(This)	\
    ( (This)->lpVtbl -> WaitForDocumentComplete(This) ) 

#define IIEBrowser_ReloadDOM(This)	\
    ( (This)->lpVtbl -> ReloadDOM(This) ) 

#define IIEBrowser_get_BrowserIDispatch(This,pVal)	\
    ( (This)->lpVtbl -> get_BrowserIDispatch(This,pVal) ) 

#define IIEBrowser_put_PopupIDispatch(This,pVal)	\
    ( (This)->lpVtbl -> put_PopupIDispatch(This,pVal) ) 

#define IIEBrowser_get_BrowserID(This,pVal)	\
    ( (This)->lpVtbl -> get_BrowserID(This,pVal) ) 

#define IIEBrowser_put_BrowserID(This,newVal)	\
    ( (This)->lpVtbl -> put_BrowserID(This,newVal) ) 

#define IIEBrowser_get_MousedownIsMouseclick(This,pVal)	\
    ( (This)->lpVtbl -> get_MousedownIsMouseclick(This,pVal) ) 

#define IIEBrowser_put_MousedownIsMouseclick(This,newVal)	\
    ( (This)->lpVtbl -> put_MousedownIsMouseclick(This,newVal) ) 

#define IIEBrowser_put_ignoreEvents(This,bNewVal)	\
    ( (This)->lpVtbl -> put_ignoreEvents(This,bNewVal) ) 

#define IIEBrowser_get_ignoreEvents(This,pbVal)	\
    ( (This)->lpVtbl -> get_ignoreEvents(This,pbVal) ) 

#define IIEBrowser_Sleep(This,nMilliseonds)	\
    ( (This)->lpVtbl -> Sleep(This,nMilliseonds) ) 

#define IIEBrowser_GoBack(This)	\
    ( (This)->lpVtbl -> GoBack(This) ) 

#define IIEBrowser_GoForward(This)	\
    ( (This)->lpVtbl -> GoForward(This) ) 

#define IIEBrowser_GoHome(This)	\
    ( (This)->lpVtbl -> GoHome(This) ) 

#define IIEBrowser_Stop(This)	\
    ( (This)->lpVtbl -> Stop(This) ) 

#define IIEBrowser_Refresh2(This,varLevel)	\
    ( (This)->lpVtbl -> Refresh2(This,varLevel) ) 

#define IIEBrowser_ScreenCapture(This,vbFullScreen,bstrUploadUrl,pbstrEncodedImage)	\
    ( (This)->lpVtbl -> ScreenCapture(This,vbFullScreen,bstrUploadUrl,pbstrEncodedImage) ) 

#define IIEBrowser_SendKeys(This,bstrValue)	\
    ( (This)->lpVtbl -> SendKeys(This,bstrValue) ) 

#define IIEBrowser_CheckDocumentComplete(This,pbVal)	\
    ( (This)->lpVtbl -> CheckDocumentComplete(This,pbVal) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IIEBrowser_INTERFACE_DEFINED__ */



#ifndef __RATCHETBROWSERLib_LIBRARY_DEFINED__
#define __RATCHETBROWSERLib_LIBRARY_DEFINED__

/* library RATCHETBROWSERLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_RATCHETBROWSERLib;

#ifndef __DIEBrowserEvents_DISPINTERFACE_DEFINED__
#define __DIEBrowserEvents_DISPINTERFACE_DEFINED__

/* dispinterface DIEBrowserEvents */
/* [helpstring][uuid] */ 


EXTERN_C const IID DIID_DIEBrowserEvents;

#if defined(__cplusplus) && !defined(CINTERFACE)

    MIDL_INTERFACE("C7088BA9-7234-4077-A5B1-1C2914D7DB90")
    DIEBrowserEvents : public IDispatch
    {
    };
    
#else 	/* C style interface */

    typedef struct DIEBrowserEventsVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            DIEBrowserEvents * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ 
            __RPC__deref_out  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            DIEBrowserEvents * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            DIEBrowserEvents * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            DIEBrowserEvents * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            DIEBrowserEvents * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            DIEBrowserEvents * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [range][in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            DIEBrowserEvents * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        END_INTERFACE
    } DIEBrowserEventsVtbl;

    interface DIEBrowserEvents
    {
        CONST_VTBL struct DIEBrowserEventsVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define DIEBrowserEvents_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define DIEBrowserEvents_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define DIEBrowserEvents_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define DIEBrowserEvents_GetTypeInfoCount(This,pctinfo)	\
    ( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) ) 

#define DIEBrowserEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    ( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) ) 

#define DIEBrowserEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    ( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) ) 

#define DIEBrowserEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    ( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */


#endif 	/* __DIEBrowserEvents_DISPINTERFACE_DEFINED__ */


EXTERN_C const CLSID CLSID_IEBrowser;

#ifdef __cplusplus

class DECLSPEC_UUID("B8C1C27C-E637-422A-A2DA-05176750AEBE")
IEBrowser;
#endif
#endif /* __RATCHETBROWSERLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


